//============== Networked: SA - http://code.google.com/p/n-sa/ ==============
//
// File: CSAPhysical.h
// Project: Client
// Developers: bpeterson
// License: See LICENSE in root directory
//
//============================================================================

#pragma once

#include <StdInc.h>

#define FUNC_GetMoveSpeed	0x404460
#define FUNC_GetTurnSpeed	0x470030

struct SAPhysical
{
	SADynamicEntity m_DynamicEntity;
	// finish
	SAEntity * m_pLastDamageEntity;
};

class CSAPhysical : public CSADynamicEntity
{
public:
	CSAPhysical();
	~CSAPhysical();

	SAPhysical * GetPhysical();

	void		GetMoveSpeed(CVector * vecMoveSpeed);
	void		SetMoveSpeed(CVector * vecMoveSpeed);
	void		GetTurnSpeed(CVector * vecTurnSpeed);
	void		SetTurnSpeed(CVector * vecTurnSpeed);
	SAEntity *	GetLastDamageEntity();
};